a = [1, 2, 3, 4, 5]
for i in a:
    print(i)

# for i in range(1, 7):
#     if i == 3:
#         break
#     print(f'我吃完了第{i}个包子')
# #输出为：
# # 我吃完了第1个包子
# # 我吃完了第2个包子




# 我吃完了第4个包子
# 我吃完了第5个包子
# 我吃完了第6个包子

# for i in range(10, 0, -1):
#     print(i)

# for i in range(2, 11, 2):
#     print(i)

# for i in range(1, 11):
#     print(i)


# num = 1
# sum = 0
# while num <= 5:
#     i = 1
#     result = 1
#     while i <= num:
#         result = result * i
#         i = i + 1
#     sum = sum + result
#     num += 1
# print(sum) #153



# num = 1
# result = 1
# while num <= 5:
#     result *= num
#     num += 1
# print(result)


# a = 1
# sum = 0
# while a <= 100:
#     sum += a
#     a += 1
# print(sum)



# a = int(input('请输入年份：'))
# if(a % 100 != 0 and a % 4 == 0) or a % 400 == 0:
#     print('闰年')
# else:
#     print('平年')



# a = int(input('请输入年份：'))
# if a % 100 == 0:
#     if a % 400 == 0:
#         print('闰年')
#     else:
#         print('平年')
# else:
#     if a % 4 == 0:
#         print('闰年')
#     else:
#         print('平年')

# a = input('请输入一个数字：')
# a = int(a)
# if a > 0:
#     print('正数')
# elif a < 0:
#     print('负数')
# else:
#     print('0')

# a = input('输入一个整数：')
# a = int(a)
# if a % 2 == 0:
#     print('偶数')
# else:
#     print('奇数')

# a = int(input('请输入数字：'))
# if a != 1:
#     pass
# else:
#     print('hello')


# a = int(input('请输入数字：'))
# if a == 1:
#     print('hello')

# #小王考试超过90，奖励玩手机
# point = input('小王考试成绩：')
# point = int(point)
# if point >= 90:
#     print('玩手机')
# print("无事发生")
# #假设小王考95，输出结果为：
# #玩手机
# #无事发生
#
# # #小王考试超过90，奖励玩手机；不及格就打屁股；其他成绩口头鼓励
# # point = input('小王考试成绩：')
# # point = int(point)
# # if point >= 90:
# #     print('玩手机')
# # elif point >= 60:
# #     print('口头鼓励')
# # else:
# #     print('打屁股')
# # #假设小王考70，输出结果为：
# # #口头鼓励
#
#
# # #小王考试超过90，奖励玩手机；不及格就打屁股
# # point = input('小王考试成绩：')
# # point = int(point)
# # if point >= 90:
# #     print('玩手机')
# # else:
# #     print('打屁股')
# # #假设小王考55，输出结果为：
# # #打屁股
#
#
# # #小王考试超过90，奖励玩手机
# # point = input('小王考试成绩：')
# # point = int(point)
# # if point >= 90:
# #     print('吃鸡腿')
# # print("无事发生")
#
#
# # print('1')
# # print('2')
# # print('3')
# # #输出结果为：
# # #1
# # #2
# # #3